<!-- 导入地图 -->
<template>
  <!-- 展示地图 -->
  <view>
    <!-- #ifdef H5 -->
    <h-5-line-map-vue
      :polyline-path="[{
                         lng: 116.404,
                         lat: 39.915
                       },
                       {
                         lng: 116.405,
                         lat: 39.920
                       },
                       {
                         lng: 116.423493,
                         lat: 39.907445
                       }
      ]"/>
    <!-- #endif -->
    <!-- #ifdef MP-WEIXIN   -->
    <weChatLineMapVue :postion="demo" :line="[{ latitude: 39.915, longitude: 116.404 }, { latitude: 39.5215, longitude: 116.404 }]"/>
    <!-- #endif -->
  </view>

</template>

<script>
import h5LineMapVue from '../../components/Map/h5LineMap.vue'
import weChatLineMapVue from '../../components/Map/weChatLineMap.vue'
export default {
  components: {
    h5LineMapVue,
    weChatLineMapVue
  },
  data() {
    return {
      demo: { lat: 39.915, lng: 116.404 }
    }
  }
}

</script>

<style>

</style>